package com.labichaoka.chaoka.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by jackwang on 16-10-25.
 */

public class ProvinceDataPersistModel implements Serializable {
    private List<String> provinceList;
    private Map<String, List<String>> cityMap;
    private Map<String, List<DistrictDataModel>> districtMap;

    public Map<String, List<String>> getCityMap() {
        return cityMap;
    }

    public void setCityMap(Map<String, List<String>> cityMap) {
        this.cityMap = cityMap;
    }

    public Map<String, List<DistrictDataModel>> getDistrictMap() {
        return districtMap;
    }

    public void setDistrictMap(Map<String, List<DistrictDataModel>> districtMap) {
        this.districtMap = districtMap;
    }

    public List<String> getProvinceList() {
        return provinceList;
    }

    public void setProvinceList(List<String> provinceList) {
        this.provinceList = provinceList;
    }

    @Override
    public String toString() {
        return "ProvinceDataPersistModel{" +
                "cityMap=" + (cityMap != null ? cityMap.size() : null) +
                ", provinceList=" + (provinceList != null ? provinceList.size() : null) +
                ", districtMap=" + (districtMap != null ? districtMap.size() : null) +
                '}';
    }
}
